Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added typing information and fixed bug in sentence, paragraph, and text functions #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Ahsoka
Copy link

@Ahsoka Ahsoka commented Jun 15, 2021

This pull request will make this code only compatible with Python 3.5 and higher. If you want to preserve backwards compatibility with older versions of Python, only include the first two commits of this pull request, 7175063 and 592a955, in versions that you wish to preserve backwards compatibility.

Ahsoka added 5 commits June 14, 2021 17:04
I believe `args` and `kwargs` are meant to be passed into the `__init__` method and not the `sentence`, `paragraph`, or `text` methods as passing any arguements there would cause a `TypeError`
(before this only supported Python 3.9 and up)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant